local M={}

function M:Awake()
    Alice.Console.Debug("ImageSprite9 Awake")
    self.GameObject:SetName("ImageSprite9")
    self.is=self.GameObject:GetComponent(Alice.ImageSprite9)
    self.is:SetColor(255,255,255,255)
    self.is:SetMaterial("NewMaterial.material")
    self.is:SetSize(40,40)
    local w,h=self.is:GetSize()
    Alice.Console.Debug("image sprite size ",w,h,self.is:GetMaterial())
    self.GameObject:SetPosition(200,0,0)
    self.GameObject:AddComponent(Alice.Physics2DComponent)
end

return M